package com.weimob.mcloud.wechatwork.customer;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.weimob.arch.artemis.client.spring.annotation.EnableArtemis;
import com.weimob.artemis.client.spring.annotation.EnableArtemisAdapterFor15x;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;


@SpringBootApplication(scanBasePackages = "com.weimob.mcloud.wechatwork")
@EnableArtemisAdapterFor15x
@EnableArtemis
@EnableApolloConfig({"application", "weimob.arch-common", "redis","weimob.sentinel-apollo-info"})
@ImportResource({"classpath*:application-*.xml"})
@EnableAsync
public class ServiceApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(ServiceApplication.class, args);

    }

}

